import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: '准考证打印',
      component: () => import("@/views/Searching.vue")
    },
    {
      path: '/result',
      name: '查询结果',
      component: () => import("@/views/SearchResult.vue")
    }
  ],
})

export default router
